package com.cskaoyan.market.db.admin.bo.creategoods;

import java.io.Serializable;

import com.cskaoyan.market.db.domain.MarketGoodsAttribute;
import com.cskaoyan.market.db.domain.MarketGoodsSpecification;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @projectName: project-second
 * @package: java44th.group.bean.admin.bo.goods
 * @className: AdminGoodsCreateBO
 * @author: 杨浩祥
 * @description: TODO
 * @date: 2022/10/12 16:09
 * @version: 1.0
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class AdminGoodsCreatePO implements Serializable {


    /**
     * goods : {"picUrl":"http://182.92.235.201:8083/wx/storage/fetch/904l329brm17x1ldj8lj.jpg","gallery":["http://182.92.235.201:8083/wx/storage/fetch/jyll9di6upluc2xe9k2l.jpg","http://182.92.235.201:8083/wx/storage/fetch/25dbmfj24jke2pr6idk1.jpg","http://182.92.235.201:8083/wx/storage/fetch/gu90ez536wl55r6p5yd5.jpg"],"isHot":false,"isNew":true,"isOnSale":true,"goodsSn":"123123","name":"神奇宝贝","unit":"个","keywords":"kawaiii,cute","categoryId":1015001,"brandId":1001007,"brief":"好看好看","detail":"<p>敲可爱<\/p>"}
     * specifications : [{"specification":"规格","value":"标准","picUrl":""}]
     * products : [{"id":0,"specifications":["标准"],"price":"400","number":"200","url":"http://182.92.235.201:8083/wx/storage/fetch/p2dcl9tlc65kled7va3a.jpg"}]
     * attributes : [{"attribute":"规格个","value":"10202"}]
     */

    private AdminGoodsPO goods;
    private MarketGoodsSpecification[] specifications;
    private AdminGoodsProduct[] products;
    private MarketGoodsAttribute[] attributes;
    private Integer[] categoryIds;
}
